package cn.xfdzx.android.apps.shop.contract;

import cn.xfdzx.android.apps.shop.base.BaseView;
import cn.xfdzx.android.apps.shop.bean.LogininfoBean;
import cn.xfdzx.android.apps.shop.bean.VersionInfoBean;
import io.reactivex.Flowable;


/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 * 其他登录和微信登录
 */

public interface VersionInfoContract {
    interface Model {

        Flowable<VersionInfoBean> getVersionInfo();

    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onVersionInfoSuccess(VersionInfoBean bean);
    }

    interface Presenter {

        /**
         * 获取版本信息
         *
         */
        void getVersionInfo();
    }
}
